package cake.dao;

import java.util.List;

import cake.entity.User;

public interface UserDao {
	boolean addUser(User user);
	User checkLoginUser(String userName,String passWord);
	boolean checkUserName(String userName);
	boolean updateUserStatus(User user);
	User fetchUserByUserName(String username);
	List<User> getAll();
	List<User> getUsersByKeyWord(String keyWord);
}
